package db_api

import (
	"bitset"
	"game_server/logic/db/handler"
	"game_server/model"
)

var (
	// 注册处理器到数据库系统中
	Register func(handler db_handler.Interface)

	// 保存数据
	Save func(player *model.Player, dirtyMarks *bitset.BitSet)

	// 读取数据
	Load func(player *model.Player) (success bool)
)
